#!/bin/sh
rm *.o
gcc -c interface.c seg.c sync.c index.c mem_pool.c buddy_system.c 
ld -shared -soname libkvs.so -o libkvs.so.1.0.0 *.o
mv libkvs.so.1.0.0 /usr/local/lib
ldconfig
cp interface.h /usr/local/include
rm *.o


